import { Layout } from '@fl/utils/routerHelper'

const finance: AppRouteRecordRaw = {
    children: [
        {
            component: () => import('@/pages/marketing-promotion/finance/apply/list.vue'),
            meta: {
                icon: 'i-clarity:list-line',
                title: '申请列表',
            },
            name: 'marketing-promotion-apply-list',
            path: 'apply-list',
        },
        {
            component: () => import('@/pages/marketing-promotion/finance/product/list.vue'),
            meta: {
                icon: 'i-clarity:list-line',
                title: '产品列表',
            },
            name: 'marketing-promotion-product-list',
            path: 'product-list',
        },
        {
            component: () => import('@/pages/marketing-promotion/finance/mechanism/list.vue'),
            meta: {
                icon: 'i-clarity:list-line',
                title: '金融机构',
            },
            name: 'marketing-promotion-mechanism-list',
            path: 'mechanism-list',
        },
        {
            component: () => import('@/pages/marketing-promotion/finance/product-manage/list.vue'),
            meta: {
                icon: 'i-clarity:list-line',
                title: '产品分类管理',
            },
            name: 'marketing-promotion-product-manage-list',
            path: 'product-manage-list',
        },
    ],
    component: Layout,
    meta: {
        icon: 'i-fluent-emoji-high-contrast:money-bag',
        title: '金融服务',
    },
    name: 'marketing-promotion-finance-service',
    path: 'finance-service',
}

export default finance
